//
//  LDTitleButton.swift
//  Weibo201655
//
//  Created by pro on 16/5/6.
//  Copyright © 2016年 LeeDan. All rights reserved.
//

import UIKit

class LDTitleButton: UIButton {

    override func layoutSubviews() {
        super.layoutSubviews()
        
        //交换图片与文字的位置
        titleLabel?.frame.origin.x = 0
        imageView?.frame.origin.x = (titleLabel?.frame.size.width)! + 3
    }

}
